package com.windbell.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.windbell.dao.ChannelDao;
import com.windbell.pick.BasePicker;
import com.windbell.pick.CsdnTop10;

@Service
public class NewsService {
	@Resource
	ChannelDao chanelDao;
	@Resource
	BasePicker csdnTop10;
	
	public List list() {
		return csdnTop10.list();
	}
	
	public Map context(Map map){
		return csdnTop10.context(map);
	}
}
